package com.yqg.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * unit 实体类
 *
 * @author zxf
 * @since 2025-09-16
 */
@Getter
@Setter
@ApiModel(value = "Unit对象", description = "单位")
public class Unit implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("单位名称")
    private String name;

    @ApiModelProperty("顶部配置名称")
    private String topConfiguration;

    @ApiModelProperty("文号单位简称（文书中文号使用）")
    private String documentNumber;

    @ApiModelProperty("单位地址")
    private String address;

    @ApiModelProperty("是否删除")
    private String isDelete;


    @TableField(exist = false)
    private List<Long> menuIds;

}
